package com.wjs.gulimall.gulimallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.wjs.gulimall.gulimallproduct.VO.SpuSaveVo;
import com.wjs.gulimall.gulimallproduct.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author wangjingsong
 * @email wangjingsong@gmail.com
 * @date 2022-04-17 15:11:00
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo saveVo);

    PageUtils querySpuinfo(Map<String, Object> params);

    void UpProduct(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

